package com.ww.learn.oop

object Sun : Runnable {

    val radiusInKM = 696000

    var coreTemperatureInC = 15000000

    override fun run() {
        println("spin...")
    }
}

fun moveIt(runnable: Runnable) {
    runnable.run()
}

fun main() {
    println(Sun.radiusInKM)
    moveIt(Sun)
}